﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Weibo4Sharp.Model
{
    [Serializable]
    [DataContract]
    [JsonObject(MemberSerialization.OptIn)]
    public class WeiboEmotion : IWeiboModel
    {
        [DataMember]
        public virtual string Phrase { get; set; }

        [DataMember]
        public virtual string Type { get; set; }

        [DataMember]
        public virtual string Url { get; set; }

        [DataMember]
        [JsonProperty("is_hot")]
        public virtual bool IsHot { get; set; }

        [DataMember]
        [JsonProperty("is_common")]
        public virtual bool IsCommon { get; set; }

        [DataMember]
        [JsonProperty("oreder_number")]
        public virtual int OrderNumber { get; set; }

        [DataMember]
        public virtual string Category { get; set; }

        public virtual string RawSource  { get; set; }
    }
}
